
import 'package:flutter/material.dart';
import 'widegets/chanllange.dart';

// 这个类的作用是组装出活动的详情类

import 'widegets/BigImg.dart';
import 'widegets/information.dart';
import 'widegets/rule.dart';
import 'widegets/share.dart';
import 'widegets/love.dart';
import 'widegets/NoLove.dart';
import 'widegets/creator.dart';
import 'widegets/back.dart';
import 'widegets/Recommend.dart';

class Activity extends StatefulWidget {
  @override
  _ActivityState createState() => _ActivityState();
}

class _ActivityState extends State<Activity> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Container(
          child: Stack(
            children: [
              ListView(
                children: [
                  SizedBox(height: 40,),
                  BigImg(),
                  Information(),
                  Creator(),
                  Rule(),
                  SizedBox(height: 2,),
                  Share(),
                  SizedBox(height: 60,)
                ],
              ),
//              BottomActionButton(),
              Love(),
              NoLove(),
              Back(),
              Recommend(),
              Challange(),
            ]
          )
        )
        )
    );
  }
}
